package com.tarena.lbs.pojo.basic.bo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class UserBO implements Serializable,LoginBO {
    @Override
    public String getNickname() {
        return this.nickName;
    }
    @Override
    public Integer getRoles() {
        return 2;
    }
    //给登录使用的jwt字符串
    private String jwt;
    private Integer id;
    private String userName;
    private String password;
    private String nickName;
    private String ipAddress;
    private Date regTime;
    private Date lastLogTime;
    private String introduction;
    private String phone;
    private Integer providerType;
    private Integer status;
    private String unionId;
    private String userImage;
    private Integer userId;
    private String userNickPicture;


}
